// pages/my/my.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    //orderList: [],
    orderList: [{
      id: 0,
      color: 'light-blue',
      name: 'A体检套餐升级套餐一',
      time: '2019.12.10',
      icons: ['../../images/ordered_icon.png', '../../images/plus_icon.png'],
    }],
  },
  orderChangeTime: function(e) {

  },
  cancelOrder: function(e) {
    // wx.showToast({
    //   title: "取消成功",
    //   image: '../../images/success_icon.png',
    //   mask: true,
    //   duration: 3000
    // })
    wx.showToast({
      title: "取消失败",
      image: '../../images/failed_icon.png',
      mask: true,
      duration: 3000
    })
  },
})